package cn.hbu.zlfw.dic.dao.impl;

import org.springframework.stereotype.Repository;

import cn.hbu.zlfw.common.base.dao.impl.BaseDaoImpl;
import cn.hbu.zlfw.common.util.PageModel;
import cn.hbu.zlfw.dic.dao.DicUserTypeDao;
import cn.hbu.zlfw.dic.entity.DicUserType;

/**
 * 
 * @ClassName: DicUserTypeImpl 
 * @Description: 用户类型dao接口实现
 * @author 王鹏伟<1223443289@qq.com>
 * @date 2017年10月23日 下午5:12:52  
 * @version V1.0
 */
@Repository("dicUserTypeDao")
public class DicUserTypeDaoImpl extends BaseDaoImpl<DicUserType, String> implements DicUserTypeDao{
	
	/*
	 * (non-Javadoc)
	 * @see cn.hbu.zlfw.dic.dao.DicUserTypeDao#listUserTypesToRoot(cn.hbu.zlfw.common.util.PageModel)
	 */
	@Override
	public PageModel<DicUserType> listUserTypesToRoot(PageModel<DicUserType> pageModel) {
		return this.findListByParams("from DicUserType", null, null, pageModel);
	}

}
